import { RouteRecordRaw } from 'vue-router'

export interface MenuVO {
  parentName: string
  parentId: string | number
  children: MenuVO[]
  menuId: string | number
  menuName: string
  orderNum: number
  path: string
  component: string
  icon: string
}

export interface RouterVO {
  name: string
  path: string
  fullPath?: string
  component?: string
  meta: meta
  children: RouterVO[]
  childrenRouter?: RouteRecordRaw[]
}

interface meta {
  title: string
  icon: string
  noCache: boolean
  link: string
  single?: boolean
}
